<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

//获得订单编号
String boiId = request.getParameter("boiId");
//获得会员编号
String bmbId = request.getParameter("bmbId");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>订单管理-订单列表-订单详情</title>
    <jsp:include page="../../include/base.jsp"></jsp:include>
	<jsp:include page="../../include/common.jsp"></jsp:include>
	<jsp:include page="../../include/baseManage.jsp"></jsp:include>
	<style type="text/css">
		.detailTable{width:100%;font-size:12px;}
		.bold{font-weight: bold;}
	</style>
	<script type="text/javascript">
		var __boiId = "<%=boiId %>";
		var __bmbId = "<%=bmbId %>";
	</script>
	
  </head>
  <body>
  	<div class="mini-panel" title="订单详情" style="width:100%;height:100%;" borderStyle="border:0;" 
	    showHeader="false" showToolbar="true" bodyStyle="padding:0;">
	    <div property="toolbar" style="border:0;background:white;">
	    	<div class="mini-toolbar" style="border-top:0;border-left:0;border-right:0;
	    		border-bottom:0;font-size:12px;padding-left:6px;">
	    		<div class="operatePanel">
			       	<input id="order_fhd_qufh" class="mini-button" text="发货" iconCls="icon-add" plain="false" 
			       		onclick="InvoiceDetailHandler.disposeOrder('quFHBtn')"/>
			       	<input class="mini-button" text="返回发货单列表" iconCls="icon-btn-return" plain="false" 
			       		onclick="InvoiceDetailHandler.returnOrderList"/>
			    </div>
	    	</div>
	    </div>
	    
	    <div id="baseInfoPanel" title="基本信息" class="mini-panel" style="width:100%;" borderStyle="border:0;"
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;">
	    	<table class="detailTable" cellpadding="6">
		    	<tr>
		    		<td align="right" width="22%;">发货单流水号：</td>
		    		<td width="28%">
		    			<label id="boiInvsernum"></label>
		    		</td>
		    		<td align="right" width="22%">发货时间：</td>
		    		<td width="28%">
		    			<label id="boiStime"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right"><label style="letter-spacing:6px;">订单</label>号：</td>
		    		<td>
		    			<label id="boiOsn"></label>
		    		</td>
		    		<td align="right">下单时间：</td>
		    		<td>
		    			<label id="boiOtime"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right"><label style="letter-spacing:6px;">订购</label>人：</td>
		    		<td>
		    			<label id="bmbNick"></label>
		    		</td>
		    		<td align="right">配送方式：</td>
		    		<td>
		    			<label id="boiDeliverymode"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">发货单号：</td>
		    		<td>
		    			<input type="text" id="boiInvnum" />
		    		</td>
		    		<td align="right">配送费用：</td>
		    		<td>
		    			￥<label id="boiSpay"></label>
		    		</td>
		    	</tr>
		    </table>
	    </div>
	    
	    <div id="consigneePanel" title="收货人信息" class="mini-panel" style="width:100%;" borderStyle="border:0;"
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;">
	    	<table class="detailTable" cellpadding="6">
		    	<tr>
		    		<td align="right" width="22%"><label style="letter-spacing:6px;">收货</label>人：</td>
		    		<td width="28%">
		    			<label id="boiConsignee"></label>
		    		</td>
		    		<td align="right" width="22%">电话号码：</td>
		    		<td width="28%">
		    			<label id="boiPhone"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">手机号码：</td>
		    		<td>
		    			<label id="boiMobile"></label>
		    		</td>
		    		<td align="right">邮政编码：</td>
		    		<td>
		    			<label id="boiZipcode"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">收货地址：</td>
		    		<td>
		    			<label id="boiCountry"></label>
		    			<label id="boiProvince"></label>
		    			<label id="boiCity"></label>
		    			<label id="boiDistrict"></label>
		    			<label id="boiDetail"></label>
		    		</td>
		    		<td align="right">用户备注：</td>
		    		<td>
		    			<label id="boiUremark"></label>
		    		</td>
		    	</tr>
		    	<tr> 
		    		<td align="right">收货时间：</td>
		    		<td>
		    			<label id="boiBest"></label>
		    		</td>
		    		<td></td>
		    		<td></td>
		    	</tr>
		    </table>
	    </div>
	    <div id="goodsPanel" title="商品信息" class="mini-panel" style="width:100%;" borderStyle="border:0;" 
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;" 
	    	bodyStyle="padding:0;">
	    	<div id="goodsListGrid" class="mini-datagrid" fitColumns="true" style="width:100%;min-height:120px;overflow:visible;" 
		    	borderStyle="border:0" showFooter="false" showHGridLines="false" showVGridLines="false"
		    	idField="bogId">
		        <div property="columns">
		            <div type="indexcolumn" width="40" headerAlign="center" cellStyle="height:26px">序号</div>
		            <div field="bogName" width="200" headerAlign="center" align="left">商品名称[品牌]</div>    
		            <div field="bgiGsn" width="120" headerAlign="center" align="left">货号</div> 
		            <div field="bogAttribute" width="100%" headerAlign="center" align="left">属性</div>
		            <div field="bogNumber" width="120" headerAlign="center" align="center">数量</div>
		        </div>
		    </div>
	    </div>
	    <div id="operatingPanel" title="操作信息" class="mini-panel" style="width:100%;" borderStyle="border:0;" 
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;">
	    	<table class="detailTable" cellpadding="6" id="remarkTab">
		    	<tr>
		    		<td width="10%" align="right">操作备注：</td>
		    		<td width="90%">
		    			<textarea id="lolOremark" style="width:95%;font-size:12px;"></textarea>
		    		</td>
		    	</tr>
		    </table>
	    </div>
	    <div id="logingPanel" title="日志信息" class="mini-panel" style="width:100%;" borderStyle="border:0;"  
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;"
	    	bodyStyle="padding:0;">
	    	<div id="orderLogGrid" class="mini-datagrid" fitColumns="true" style="width:100%;min-height:200px;overflow:visible;" 
		    	borderStyle="border:0" showFooter="false" showHGridLines="false" showVGridLines="false"
		    	idField="lolId">
		        <div property="columns">
		            <div type="indexcolumn" width="40" headerAlign="center" cellStyle="height:26px">序号</div>
		            <div field="lolUser" width="120" headerAlign="center" align="center">操作用户</div>    
		            <div field="lolTime" width="140" headerAlign="center" align="center">操作时间</div> 
		            <div field="lolOtype" width="120" headerAlign="center" align="center">操作类型</div>
		            <div field="lolAddress" width="120" headerAlign="center" align="center">操作地址</div>
		            <div field="lolUtype" width="120" headerAlign="center" align="center">用户类型</div>
		            <div field="lolOremark" width="100%" headerAlign="center" align="center">操作备注</div>
		        </div>
		    </div>
	    </div>
	</div><!-- border-top:1px solid #C9C9C9;border-bottom: 1px solid #C9C9C9; -->
	<form id="hiddenForm" action=""></form><!-- 此表单用于加载提示框 -->
  </body>
  <script src="handler/OrderMgrData.js" type="text/javascript"></script>
  <script src="handler/InvoiceDetailHandler.js" type="text/javascript"></script>
</html>
